import request from '@/utils/request';

// 获取电子证照预览或者下载地址详情
export function getElecLicenUrl(elecLicenOid) {
  return request({
    url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/elemLice/downloadLicenseByElecLicenOid?elecLicenOid=' + elecLicenOid,
    method: 'post',
  })
}

// 获取电子证照信息
export function queryElecLicenseByDirCode(materialOid,userName,idCard) {
  return request({
    url: process.env.VUE_APP_KSTB_ROUTE_PATH + '/elemLice/queryElecLicenseByDirCode?materialOid=' + materialOid+"&userName="+userName+"&idCard="+idCard,
    method: 'post',
  })
}


